<template>
    <!-- 登录后的页面再使用面包屑 -->
    <div id="Breadcrumb">
        <el-breadcrumb separator-class="el-icon-arrow-right">
            <el-breadcrumb-item :to="{ path: '/home' }">{{$t('breadcrumb_.home')}}</el-breadcrumb-item>
            <!-- 注意 {{$t(item.name)}} -->
            <el-breadcrumb-item v-for="(item,i) in $route.matched" :to="{ path: item.path}" :key="i">
                {{$t(item.name)}}
            </el-breadcrumb-item>
        </el-breadcrumb>
    </div>
</template>